﻿#ifndef WIDGET_H
#define WIDGET_H

#include "ui_widget.h"
#include <element/mongohelper.h>
#include "m_fhs.h"

class Widget : public QWidget, private Ui::Widget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = nullptr);
    void updateCategory();
    void updateView();

private:
    MongoHelper db;
    bool bOffline;
};

#endif // WIDGET_H
